<?php 
namespace frontend\controllers;
use Yii;
use yii\web\Controller;

class ContactController extends Controller
{
	  public function actionIndex(){
	  	 $this->redirect(['contact']);
	  }

	  public function actionContact(){
	  	  return $this->render('contact');
	  }
}

 ?>